<%--
  Created by IntelliJ IDEA.
  User: yanlin
  Date: 2017/10/21
  Time: 16:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="<%=request.getContextPath() %>"/>
<c:set var="role" value="${sessionScope.user.rolecd}"/>

<html>
<head>
    <link rel="stylesheet" href="${ctx}/jsps/qt/datatables/css/jquery.dataTables.min.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/ext/resources/css/ext-all.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/jsps/qt/css/index.css">

</head>
<body>
<H3 id="header" class="base_info_header mT11"></H3>
<input name="role" type="hidden" value="${role}"/>

<%--<button id="add_button" class="DCButton" style="float: right"><img src="${ctx}/jsps/qt/images/zengjia1.png"  title="增加"></button>--%>
<div style="float: right;margin-top: 15px;margin-bottom: 5px">
    <label>搜索：</label><input id='search_input' name="search_text" style="height: 29px" type="text" /><button id="search_button" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="margin-left: 5px;height: 30px;margin-right: 2px">搜索</button>
    <button id="map" class="easyui-linkbutton" data-options="iconCls:'icon-map'" style="margin-left: 3px;height: 30px;margin-right: 2px">地图</button>
    <button id="add_button" class="easyui-linkbutton" data-options="iconCls:'icon-add'" style="margin-left: 3px;height: 30px;margin-right: 2px">增加</button>
</div>

<table id="station" class="display" cellspacing="0" width="100%" style="font-size: 13px">
    <thead style="background-image:url(${ctx}/jsps/qt/images/biaotou4.png)" >
    <tr style="color: #1d7ab3">
        <th style="width:20px"></th>
        <th style="width:35px;text-align: center;font-size: 13px">
            全选<input type="checkbox" name="select_all" value="1" id="example-select-all"></th>
        <th style="text-align: center" class="th-style">测站名称</th>
        <th style="text-align: center" class="th-style">测站编码</th>
        <th style="text-align: center" class="th-style">所在河流名称</th>
        <th style="text-align: center" class="th-style">所在水系名称</th>
        <th style="text-align: center" class="th-style">所属流域名称</th>
        <th style="text-align: center" class="th-style">经度</th>
        <th style="text-align: center" class="th-style">纬度</th>
        <th style="text-align: center" class="th-style">所属行政区</th>
        <th style="text-align: center" class="th-style">地址</th>
        <th style="text-align: center" class="th-style">测站等级</th>
        <th style="text-align: center" class="th-style">施测项目</th>
        <th style="text-align: center" class="th-style">测站类型</th>
        <th style="text-align: center" class="th-style">管理单位</th>
        <th style="text-align: center" class="th-style">测站分类</th>
        <th style="text-align: center" class="th-style">停测</th>
        <th style="text-align: center" class="th-style">备注</th>
        <th style="text-align: center" class="th-style">操作</th>
    </tr>
    <%--rowspan="2"--%>
    </thead>
    <tbody style="text-align: center">
    </tbody>
</table>
<div id="w" class="easyui-window" title="地图展示" data-options="modal:true,closed:true,collapsible:false,minimizable:false" style="width:1150px;height:650px;padding:10px;">
</div>
</body>
<script src="${ctx}/jsps/qt/js/jquery-1.7.1.min.js"></script>
<script src="${ctx}/jsps/qt/datatables/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="${ctx}/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="${ctx}/ext/ext-all.js"></script>
<script type="text/javascript" src="${ctx}/ext/resources/extjs/ux/Spinner.js"></script>
<script type="text/javascript" src="${ctx}/ext/resources/extjs/ux/SpinnerField.js"></script>
<script type="text/javascript" src="${ctx}/ext/resources/extjs/ux/DateTimeField.js"></script>
<script type="text/javascript" src="${ctx}/ext/ext-lang-zh_CN.js"></script>
<script type="text/javascript" src="${ctx}/easyui/jquery.easyui.min.js"></script>
<script>
    Ext.form.TextField.prototype.size = 20;
    Ext.form.TextField.prototype.initValue = function()
    {
        if(this.value !== undefined){
            this.setValue(this.value);
        }else if(this.el.dom.value.length > 0){
            this.setValue(this.el.dom.value);
        }
        this.el.dom.size = this.size;
        if (!isNaN(this.maxLength) && (this.maxLength *1) > 0 && (this.maxLength != Number.MAX_VALUE)) {
            this.el.dom.maxLength = this.maxLength *1;
        }
    };
</script>
<script type="text/javascript" src="${ctx}/jsps/qt/js/station_info.js"></script>
<script>
    <%--$(document).ready(function(){--%>
        <%--var html = "<button id='add_button' class='DCButton' style='float: right'><img src='${ctx}/jsps/qt/images/zengjia1.png'  title='增加'></button>&nbsp;&nbsp;<a id='map' href='javascript:void(0)' class='easyui-linkbutton' style='float: right'>map</a>&nbsp;&nbsp;<a id='search_button' href='javascript:void(0)' class='easyui-linkbutton' style='float: right'>搜索</a>";--%>
        <%--$("#station_filter label input").after(html);--%>
        <%--//$("#map").addClass("easyui-linkbutton");--%>
        <%--//$("#search_button").addClass("easyui-linkbutton");--%>
    <%--});--%>
</script>
</html>
